cmake_minimum_required(VERSION 3.0)

project(demo)

include_directories (include)
#include_directories(src src/bsp src/common)

#aux_source_directory (src SRC_LIST)
aux_source_directory (src SRC_LIST1)
aux_source_directory (src/bsp SRC_LIST2)
aux_source_directory (src/common SRC_LIST3)

add_executable (main ${SRC_LIST1} ${SRC_LIST2} ${SRC_LIST3})
#add_executable (main ${SRC_LIST})

set (EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)
